[Bug 848794] ODS document gets corrupted when saving it