def save_pickle(self):
        try:
            pickle.dump(self.fs, file(self.pickle_file_path, 'wb'))
        except:
            print ("Unable to save pickle file '%s'. " + \
                "Are you sure you have write access?") % \
                (self.pickle_file_path,)
            sys.exit(1)
saves the current file system to the pickle
dataset/ETHPy150Open cowrie/cowrie/utils/fsctl.py/fseditCmd.save_pickle