As per suggestion, use a non empty buffer in uv_write2.