Downloads url into destination and returns the number of bytes written.
url
destination
Throws DioException on an HTTP error status or a network failure.
DioException
Future<int> download(Uri url, File destination);