Fixed invalid Errno::EAGAIN handling in Stream#syswrite