retry download

Retry failed package downloads on transient service errors.

cc/@kvick
cc/@bmoyles