always read files in binary mode
Merge pull request #136 from mhils/fix_binary_rw

always read files in binary mode