yes we have.
```js
function gaia_getTmpFolder(name) {
    let file = Cc['@mozilla.org/file/directory_service;1']
                 .getService(Ci.nsIProperties).get('TmpD', Ci.nsIFile);
    file.append(name);
    file.createUnique(Ci.nsIFile.DIRECTORY_TYPE, parseInt('0777', 8));
    return file;
  }
```