Tests: Get proper directory separator from detected encoding before calling filefinder