Make IO streams open files in binary mode