win32: spurious write fails with ERROR_SUCCESS, fixes #194
2 files changed