Mark the downloaded files as cached instantly

Instead of marking the cached files when creating the lists
and dataviews mark them right after they have been downloaded.