Add forgotten EWOULDBLOCK and EAGAIN on nonblocking  write.