[FIX] Adapted the roi_io module to the new stream module.