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