Here is the relevant change, although it may not apply for mozdownload https://github.com/mozilla/mozbase/commit/aa3a7dec426bde1d883000022f085ecee5eb7832