Fixed data set name when writing the data to a file.