Bugfix in batchreconstruction

While saving encodings to file, it didn't include the dataname, causing
training coefficients being overwritten by test coefficients.

This is now fixed.