Add a newline to a configuration file if it is missing.