Normalizes multiple directory separators in normalizePath

This accounts for the scenario where a path may contain two or more consecutive directory separators in a path.
@FrenkyNet It shouldn't change anything starting with `C:\` cause it wouldn't have a double slash, but networks paths which could be something like `\\some\shared\drive` the original code that was there was already stripping off the leading double slash.