Re: [4/5] msvcrt: Move write flag setting code for reuse.