Fix normalizing of view paths with multiple \

The string.replace function with a string as the pattern only replaces the first instance.
Using a regex, we ensure we'll replace every \ with /