Improved data file naming. Prevented empty data files from secondary nodes.