Rename write_nonblock() to xwrite().