segmenter.js: toFasta export the current state of the sequences in the segmenter

If the sequences are aligned we export them as is (see #2876).
7 jobs for feature-c/2876-export-align in 5 minutes and 18 seconds