errors: Fix format of some error messages