path.existsSync -> fs.existsSync

`path.existsSync` is deprecated in favour of `fs.existsSync`.