code: function init(masterPassword, map) {
      var fileContents = JSON.stringify(map);
      var encryptedFileContents = encryption.encrypt(fileContents, masterPassword);
      file.writeToFile(encryptedFileContents);
  }
docs: Make a new safetext file with encrypted contents.
  @param masterPassword
  @param map
  @returns {Promise.<TResult>}