mingw_fopen: report ENOENT for invalid file names