MinGW std.stdio support, borrowed from GDC/MinGW.