Prevent generated PDF from being cached

In addition to #359
References #346