Added an error message for config file creation.