Also replace windows file separators \ for consistency across databases

Previously database tables had \ embedded in their name on windows
machines, because the code only replaced / file separators and not \.