io: write_nointr should treat count -1 as "just do strlen on the buffer"