[FIX] Adapts to new stream and seq_io module.