New PIL does not seem to seek(0) after format checking