Python 3 support.

With python 3 urllib.request.urlopen(....).readlines() return bytes, not strings.