Strange, since it fixed the issue. I'm not really a python guy, so I don't know what the best way of dealing with this is, but the problem this is (supposed to be?) fixing is that the `"\\"` paths in windows need to be escaped again (`"\\\\"`) if they're going into a regex it seems. Whats the most elegant way of doing that? `sep = sep.replace("\\","\\\\")` would work I guess.