allow specifying alternate tempdir