Correctly set the BlobType for File objects.