[lib] Use fs.existsSync instead of path.existsSync

Thanks @kcivey for mentioning the deprecation of fs.existsSync!

https://github.com/phonegap/node-phonegap-build/commit/27acd36#commitcomment-8676837