Fix #16741 (#16783)
Fix #16741 (#16783)

Move `downloadFileEx` out of `downloadFile` (solution, proposed by
@Yardanico).

Tested manually.
dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim