Use a fixture creating a temporary directory to improve code reuse in TestSafeFileCache (tests/unit/test_download.py)