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