always read files in binary mode
Merge pull request #10 from mhils/master

always read files in binary mode