Changed str() calls on BeautifulSoup elements to unicode()