issue #965 add an overwrite warning to ExportToSpreadsheet + tests