fix fs.exists when node <= 0.6