add fs.exists polyfill for 0.6 compat