[`path.basename()`](http://nodejs.org/api/path.html#path_path_basename_p_ext) removes the leading part of the path, so `path/to/file.hbs` would become `file.js` instead of `path/to/file.js`. Am I mistaken?