code: function rename(filepath, options) {
  	var base = filepath.substr(0, filepath.lastIndexOf('.'));
  	return base + (options.extname || '.html');
  }
docs: Change extension of file and return new path.
  @param {string} filepath
  @param {Map} options
  @returns {string}