fix read file with BOM
Merge pull request #12 from jincod/master

fix read file with BOM