fix a buf of async I/O writer for Windows.