Fix newline at EOF in .gitignore.
Use a proper filename for persisted reports.
Use .pdf_name when porting visible filenames for result report attachments.