Tweaked relative path detection to fix #1.
Fix #3 - Error: Cannot find module './path.js'
Fix #4 - create is always in PERSISTENT mode