Convert unicode to ascii before putting into a url, since urls can't contain unicode and python's urllib.quote barfs on unicode.