autotest: fixed TMPDIR for dump_logs.py