[Examples] Clean summarization and translation example testing files for T5 and Bart
- Only create temporary files instead of "real" files so that each `test_file` in `examples/summarization` and `examples/translations` creates unique testing output files that cannot be overridden by other test files. 