Add support for setting tempdir.