Change file open in binary mode