Read image in binary mode, not text.