Support Node 0.8+ by using fs.exists and fs.existsSync if exists, fallback if not

Support Node 0.8+ by using fs.exists and fs.existsSync if exists, 
fallback to path.exists and path.existsSync for Node 0.6 support