fs.existSync is now in path.existSync.
But to be backwards compatible, check if it exists in "fs", else use old "path" instead
determine if fs.existSync exists, else use path
Use obj, not just declare it
Btw, this is the third pull request solving this bug (see #12, #10)...
Now it should work. sorry!
Already got fixed at some point. Thanks for the pull request!