Asserted that buf_writer_t was pulsed instead of calling wait_for_finish.
Adjusted TODO comment about freeing buf lock.
Made buf_writer_t take buf by rvalue reference.
Removed self_cond_, just be io_completed_ variable.