Fix download link producing empty files
Testing Done:
Issue Number:
Approved by:
Reviewed by: