code: def gridfs_namespace(self, plain_src_ns):
          
          namespace = self.lookup(plain_src_ns)
          if namespace and namespace.gridfs:
              return namespace.dest_name
          return None
docs: Given a plain source namespace, return the corresponding plain
          target namespace if this namespace is a gridfs collection.