core: read_string: Allow for gc.