Send whole patch result to apply_patch, not just offsets, lengths, and text
Fix save.