fixed issue where ofstream was messing with my line endings and the config would break when edited by gedit on windows