Do not use path.exists

Deprecated

Use fs.exists