WIP: Test stat on mingw