Patched DownloadsController for external files