Fix for _open_image.

I'm not sure why, but reading the entire contents of the file and then
pushing it to StringIO works better with S3 files.  My guess is that
seeking doesn't work properly or something like that.