Fix test file comparisons on MinGW