generate conf without trailing whitespace, fixes #126

@twobraids r?