[paperbot] Added method to write config to file
[paperbot] Spaces for codestyle (and easier reading)