log_write EINTR handling on write()