fix(file): fix file download logic (#6758)
fix(file): fix file download logic (#6758)

* fix(file): fix file download logic

Signed-off-by: Chinmay Pai <ab3234b32bd9ecd2892f3eb0b557ab584a8ff0cf@gmail.com>

* remove trailing whitespace

adityahase/frappe,vjFaLk/frappe,vjFaLk/frappe,saurabh6790/frappe,almeidapaulopt/frappe,mhbu50/frappe,adityahase/frappe,frappe/frappe,yashodhank/frappe,frappe/frappe,saurabh6790/frappe,yashodhank/frappe,adityahase/frappe,mhbu50/frappe,almeidapaulopt/frappe,almeidapaulopt/frappe,yashodhank/frappe,StrellaGroup/frappe,StrellaGroup/frappe,adityahase/frappe,almeidapaulopt/frappe,vjFaLk/frappe,yashodhank/frappe,mhbu50/frappe,vjFaLk/frappe,saurabh6790/frappe,StrellaGroup/frappe,saurabh6790/frappe,frappe/frappe,mhbu50/frappe