Fix conflicting pathVarName

Previously, the `path` var would conflict with the node.js builtin `path` lib.