Fix encoding for config file.