FYI, I remember seeing some weird behavior with path.normalize in that it would convert forward slashes to backslashes for Windows, but not the other way around.