Ensure file is read in binary mode.