code: function saveSprite({spritePath, contents}) {
  	mkdirp.sync(path.dirname(spritePath));
  	try {
  		fs.writeFileSync(spritePath, new Buffer(contents));
  		fancyLog(`${PLUGINNAME}: ${colors.green(`had generated ${spritePath}`)}`);
  	} catch (err) {
  		throw new PluginError(PLUGINNAME, err);
  	}
  }
docs: save sprite
  
  @param  {String} spritePath
  @param  {String} contents