code: function write (to, what, locals) {
    const content = ejs.render(what, _.extend({}, (locals || {}), { S: underscoreString }))
    return mkdirp(path.dirname(to)).then(() => {
      return fs.writeFileAsync(to, content, 'utf8')
    })
  }
docs: /*
  Write a file to a path, optionally with ejs locals.
  @param {String} to - the path to write to.
  @param {String} what - the content to write.
  @param {Object} locals - object to pass as locals to ejs.
  @return {String} - the contents of the file.