Fixing issue with node.js version 0.6 with missing fs.exists method

Seems worthwhile supporting 0.6 despite users able to update to 0.6+ I had not even realised all this time I was using such an old version which is a default in Ubuntu still.