split uv__stream_flush_write_queue into two functions

looks probably nicer