Wrap each lines of a stream with a prefix, suffix or a custom function.