[tools] Use fs.exists vs path.exists.

- Update from older to newer node.js standard lib functions.