Excel export files get corrupted after changes were made to the spreadsheet