Use Future for writing to sink.

* brings the sink write out of the scope of the
  HTTP request.