Code for VCF I/O.