Fixed bug in how the files used to keep temporary data files are created...

....