Extension fix

Fix to the IO#read_string extension.