Process persistent tempfiles

With a mailcap set up to spawn a non-blocking viewing command I experience that the tempfiles are gone before the viewer gets to open it. This patch simply stores the tempfiles in a class variable so that they are not garbage collected before the entire process is ended.