'Given a plain source namespace, return the corresponding plain
target namespace if this namespace is a gridfs collection.'

def gridfs_namespace(self, plain_src_ns):

    namespace = self.lookup(plain_src_ns)
    if (namespace and namespace.gridfs):
        return namespace.dest_name
    return None
