second attempt to add the VCF exporter

The VCF exporter finally generates output that can be used in R.
I think the end result would be the same, but sample_num would not have the same value within the loop.  It's incremented to generate default indexes for samples, which may or may not later be replaced by indexes supplied by the user.