improve backslash handling on windows