Fix XLSX file corruption when saving an existing file containing images