Fixes an issue where the length of pilot data could be incorrectly calculated when performing serdes operations, causing save corruption.
This should fix save corruption issues reported with 1.6.4 without undoing the other fix around pilots that causes 1.6.3 to fail to load saves.