Archive - File corrupted

Hello

When I go to archive menu to download an invoice, it downloads but the file is 2kb size and when I try to open it says that the file is corrupted.
When I go to the FTP in the archive folder, I can download normally the invoice without any problem but not from the interface.

Can you help me to solve this ?

Regards,

https://development.invoiceplane.com/browse/IP-620