Remove '\\' when not necessary

This seems to cause a problem with the chromium browser.

Thanks to rbommel for reporting on github