xls: fix hang on save.