Wrong Trailing Slash on BaseURL

On Windows the BaseURL is getting a backslash appended to it because the
directory separator is different from the slash on a URL