This also fixes some inconsistencies such as mixing both strerror and strerrordesc_np, and possible formatting issues.