make sure that reading and writing is in binary
Merge branch 'ShabihsBranch'