Merge "Fix OatWriter to update the header checksum correctly."