Write transformed data out to data set

The data group of the data set written to will either be defined by the
transform or will be inferred by the data group of the inputted data
set.