Fallbacks on path.existsSync for backwards compatibility with node < 0.8