download to cache directory