[Bug 22216] Problem with freopen("CONOUT$", "w", stdout);