handle invalid utf8 errors gracefully
Merge pull request #29 from nkzawa/patch-2

Handle invalid utf8 errors gracefully