Let CheckForUpdates do something with a cache directory as well.
(This is more limited than the code in freenas-update.)