On Windows, path::value_type is wchar_t, so one can't pass the return value of path::c_str() directly to std::remove().
This matches what was done for tests under std/input.output/filesystems in 81db3c31aafec72f1cfec2a9da4381ece7f97a29 and 3784bdf2176f38cc30134fab776efb43506c0c54.