use system tmpdir when downloading