Saving predictions to file.