Add compatible call on existSync to work with Anode

Jira Issue: WP-1028
Merge pull request #10 from ziransun/WP-1028

Add compatible call on existSync to work with Anode
Merge remote-tracking branch 'upstream/master'