util: add backcompat to file.exists for node v0.6.