existsSync method moved to fs api in node 0.8.x