For now Util.h is mixture of many type of tools (junk yard in other words)
Is URIUtils best place for this function?

Function is used without dupes check in bigger PR, in ValidatePath.

In first edition I did it with char parameter, but later I thought that char may lead to incorrect function usage. I can rename that parameter to 'useWin32Slashes' or revert it to char 'slashCharacter'. What's better?