keep around a configurable number of versions, default 3

Patch to cleanup old versions of a dataset so we don't litter HDFS with old data.