Download/cache remote content into site's public directory

This patch (that won’t be upstreamed) saves an arbitrary file anywhere.
Maybe you’d want to use it!