prevent writing of (pdf) files outside tempdir in all examples/vignettes/tests (debian systems issue)
fixed addressing of tempdir, ensuring proper post-run clearing of tempdir including in windows systems