This is a native format that we're trying to mimic (even so we have some Wine-specific extensions now). I have analyzed some native NTF files and it looks like we should pad all strings to 4-byte boundary. It would be probably best to introduce something like `ntf_strlen` helper that returns `(strlen(str) + 4) & ~3` and use it instead of `strlen`. I'm expecting this to solve all the alignment related problems but I haven't tested it.