Use the interface to download files.

This makes it possible for interfaces to provide a progress GUI.