'Save namespace into filename'

def save_namespace(self, filename):

    ns = self._get_current_namespace()
    settings = self.namespace_view_settings
    data = get_remote_data(ns, settings, mode='picklable', more_excluded_names=EXCLUDED_NAMES).copy()
    return iofunctions.save(data, filename)
