Write out the stream underlying a suffix array