Refactoring

Use Lwt_stream.iter_s instead of using a recursive function with
Lwt_stream.get to iterate. Do not use put recursive code inside a
try_lwt ... with block, but instead do it at each iteration.

Signed-off-by: Vincent Bernardoff <vb@luminar.eu.org>