Windows path fixes

Fix uppercase drive letters, paths with multiple backslashes.

string.replace(string, string) only replaces the first match.