Make sure that the chunk name is null-terminated.