images: Only catch IOError on upload.