Read SWF file in binary mode on Windows

This mostly affected Windows, the input SWF file was not read as binary and
newlines were improperly read on Windows.