[FIX] Adapts to new stream and seq_io module.

This can be shortened even further. See readRecords in core/demos/sample_seqs.cpp