samtools/samtools — pull request #227 by jkbonfield (2014-06-02 16:47:53+00:00)
Title: Samtools view -T for CRAM

Call hts_set_fai_filename on the output fd too so that -T has a chance
of working. This is one half of the fix necessary for
https://github.com/samtools/samtools/issues/144