tilegen: Read PNG files in binary mode.

It matters on Windows.