LDI writer now appends tail header