Write a summary file.