Fix downloader_curl's exit code