introduce sxc_set_tempdir