Retry ActivePerl download to deal with intermittent 404s

Sometimes the ActivePerl HTTP server returns a 404 for a URL that should work,
so retry it until it works, but up to a max number of retries. And delay
a little in between.