Using "Download as Excel" produces a corrupt file