open test-images in binary mode