change into to use IO object encoding when read yaml file.
remove white space changes for 7b3cbda.
Merge pull request #995 from yousuketto/fail_to_load_yaml_file

YAML file fails to load if JVM character set is MS932 (common on Windows)