Retry EAGAIN EWOULDBLOCK during syswrite
Merge pull request #214 from nixme/master

Retry EAGAIN/EWOULDBLOCK during syswrite