Ensure we return only GenericFile objects

The model name in Solr for GenericFile changed in Fedora4, but wasn’t
previously tested.