Read icon data in binary mode.

On Windows platform, File#read cannot read data beyond the 0x1A (treated
as EOF) character from a file which is opened in text mode.