Fixed downloads on Safari (#2889)