Retry failed annotation downloads, and correctly report image and annotation sizes in download manager (TMSI-81)