For some reason, opencascade developers thought that MINGW doesn't
support the windows-specific unicode extensions to fopen and friends
and thus use the non-unicode ones, making dealing with non-ASCII
filenames impossible.
This patch enables unicode fopen on MINGW.