Critical fix for a bug that would produce incorrect record sizes when saving BSAFiles