Implement the minimum possible surface of std::experimental::filesystem in terms of POSIX APIs so that we can compile under mingw