Closing the results file after saving to it.