Fixed a bug in the methylation extractor introduced by adding htslib support