code: def action_edit_save(self, courseid, taskid, path, content):
          
          wanted_path = self.verify_path(courseid, taskid, path)
          if wanted_path is None:
              return json.dumps({"error": True})
          try:
              self.task_factory.get_task_fs(courseid, taskid).put(wanted_path, content.encode("utf-8"))
              return json.dumps({"ok": True})
          except:
              return json.dumps({"error": True})
docs: Save an edited file