[node.js] path.join vs path.resolve with __dirname