Update deprecated `path.exists` usage

path.exists is now called fs.exists