Implements enhancement #72. Saves now verified before finalization to avoid corrupt files.