fixed the way the default config gets written out. fixes #6