Fixing bug #4128333: Serializing strings restricted to 64k bytes