Retry file download also on Internal Server Error 500 code ...

... as is mostly a temporary glitch (at least on GitHub)

See #1364