expand: No longer use Unix stdio functions, but rather the kernel32 equivalent.