Fixed empty config files on first run. Fixes #2