Fixed several small memory leaks.

* When downloading a remote FASTA index
* When indexing a BAM, we can't open the FAI file
* When indexing a BCF, we can't open the index file
* Parsing a VCF header with no sample line
* Encountering multiple adjacent tabs in a SAM header