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