Makes it work with Plone 3 images of meta_type ATBlob