Render any-imagefield compatible with remote file sytems.

Remote file systems, like S3, provide file objects without path attribute.
I think it should fallback on another attribute for mime-type detection if path is not present to avoid breaking completely.