Fix download link generator.