[Bug 49378] New: kernel32.WriteFile with multi byte characters reports incorrect number of written bytes