Fix bug introduced allowing for a list to be passed to cp.cache_files