Strip extra, interfering newlines at ends of config files.