win32: fix return value of non-blocking write, fixes #162
2 files changed