clean filepath in tests for windows
[finishes #64436074]