lib/poet/utils.js
function pathify (dir, file) {
  if (file)
    return path.normalize(path.join(dir, file));
  else
    return path.normalize(dir);
}
function pathify (dir, file) {
  if (file)
    return path.normalize(path.join(dir, file));
  else
    return path.normalize(dir);
}
function pathify ( dir , file ) { if ( file ) return path . normalize ( path . join ( dir , file ) ) ; else return path . normalize ( dir ) ; }
Normalizes and joins a path of `dir` and optionally `file`

@params {String} dir
@params {String} file
@returns {String}
Normalizes and joins a path of dir and optionally file