Added a final newline to .prm files and added --configDump flag to
enable dumping parameter key/values to .prm file