[TEST] make sure that the -Dtests.rest.blacklist parameter works on windows too

Some reserved characters need to be replaced in the test section names, which gets parsed as a path although it isn't a filename