pts-core: Improvements to make-download-cache