Single source of truth for file-format/compression detection and the mappings derived from
it. Before this module existed, extension->format detection, the compression-level defaults,
and the OutputFormat->noodles Format mapping were each duplicated across reads.rs,
fastx.rs, and alignment/io.rs, with no guarantee the copies agreed.