Correctly detect path separator on node 0.6.x