docs: function saveComponent(req, cb) {
    req.pause(); // Wait for tempdir.
  
    temp.mkdir('bowerball-', function (err, dirPath) {
      if (err) { return cb(err); }
  
      var filePath   = dirPath + '/component.json',
          fileStream = fs.createWriteStream(filePath, {flags: 'w', mode: '0600'});
  
      fileStream.on('open', function (fd) {
        req.on('end', function () { return cb(null, dirPath, filePath); });
        req.pipe(fileStream);
        req.resume();
      });
    });
  }