I added a "if GdipPrivateAddFontFile() fails (probably due to the sharing violation), try again after closing the file handle" so the other tests in that function continue to work on older wine versions. I'm not sure if that is a good thing or not.
I think that's unnecessary; we don't and can't account for wine tests being run with older wine.