changed updated existSync

Hello! When I ran this it just logged a warning that path.existsSync is depreciated. So I just updated it for you.
Thanks for this repo, was exactly what I was looking for!