Export: Append \n to EOF is not already present

This fixes issue #116, where the output config files are missing a newline character at the ends of their files.