Use hts_get_format() rather than direct access to htsFile internals