Fix bugs introduced by separating quake functions out. Use bcftools reheader correctly