Don't add a newline to the config file every time you run buttonmapper.