Robustify Downloads from Koji/Brew

Take the opportunity and do some housekeeping with the utils_koji library, and add an option to make the koji download code more resilient to intermittent network failures.