Correct saving of results file.