determine if fs.existSync exists, else use path

fs.existSync is now in path.existSync.
But to be backwards compatible, check if it exists in "fs", else use old "path" instead