Use fs.exists instead of path.exists

this has been deprecated for quite a while and will silent onejs warning.