Fix some test when run under Windows

We assumes os.path.sep == '/', which is not the case on That OS.