Issue #5781: Fix downloader download stream issue