Allow string results from XPath queries

Previously, scrape would throw an exception if passed an XPath expression which returned string elements (e.g. '//a/@href').