Force binary encoding when reading the input file

1) it is faster a bit
2) prevents encoding errors
Merge pull request #15 from mikz/patch-1

Force binary encoding when reading the input file