Changed deprecated dependency 

The new releases of node has deprecated the use of path for existsSync, and instead requires fs. I have changed this to avoid getting the deprecated notice when you run phony.