code: function writeFile(path, contents, mode, cb) {
      fs.writeFile(path, contents, {mode: mode || 0666, encoding: 'utf8'}, function (err) {
          if (err) { throw err; }
          console.info(cliStyles.cyan + '\tcreate' + cliStyles.reset + ': ' + path);
          cb();
      });
  }
docs: Write a file
  @param {string} path file path to write
  @param {string} contents file contents to write
  @param {int} mode write mode
  @param {function} cb callback