code: function (key, value) {
      const filePath = transformKeyToFilePath(key);
      const buf = encodeForStorage(key, value);
      return storageDir.writeAsync(filePath, buf, { atomic: true });
    }
docs: ---------------------------------------------- Actions on storage