Fix fs.exists to existsSync where necessary

Referencing #202 - sorry about that - this fixes the other places where I've used fs.exists.