Tests: Get proper directory separator from detected encoding before call...

...ing filefinder