Improved MSVCRT support in core.stdc.stdio module.