Improve field type check in file_entity_entity_storage_load()