Added fallback for fs.existsSync to path.existsSync for Node v0.6.x