formatting
Fix for non-null terminated string leakage

Fix for non-null terminated string leakage in stream where memory is not
zeroed out. (Basically, solves issue of checksum not in old string)