Memory fix for loading strings from binary streams.