Ensure no random memory is written out to the chunk file.  Clear it to EE before writing.