Opening binary files as "r" doesn't work in windows.