UPDATE: Adequation to the new libmosaic's stream_io