Remove double fclose()

This fixes issue #47 for the legacy non-HTSlib code branch.