Force binary encoding when reading the input file

1) it is faster a bit
2) prevents encoding errors