path.sep only available in node >= 0.8