fix: interrupt download causes partial cache file to be used for next install