515a02f Truncate output string and IO::Handle before serialization

Authored and Committed by ppisar 7 years ago
    Truncate output string and IO::Handle before serialization
    
    If output were shorter than previous content, there would be
    a trailing garbage.
    
        
file modified
+2 -0