[Bug 848799] ODS document gets corrupted when saving it