Revert r983, use a cast to get rid of the compiler warning:
A string is serialized as [int, chars...] with the int specifying the number of chars that follow. We must not change the int to something else! At least not without also adjusting the string read serialization and providing a way to read the old format as well.