Make options.parse_config_file supporting custom encoding
Assume all config files are encoded in UTF-8
Merge pull request #1086 from likang/master

Make options.parse_config_file supporting custom encoding