Save the PDF form when an exception occurs

The PDF form should be saved under /var/tmp/strike2-debug... directory.