nodejs 0.6 workarround for path.sep