node 0.6.x compatibility fix (existsSync)