path.exists is now called fs.exists

Fix for modern Nodes to stop complaining about calls to path.exists