NewFromBlob now works with files that don't actually have blob support.

This works by writing files to a /tmp dir. Clearly this is not ideal
but gets around issues with ImageMagick being able to read files like
PDF's from blobs