Require that tmp_dir be set explicitly