chomp trailing whitespace in one place only in the config file reader