Use download() from downloader package

This change makes shiny use the `download()` function from the downloader package, instead of its own internal version. The code for the function is the same; this change just reduces code duplication.