Fixes encoding problem in retrieve_uri().  We now use requests.content i...

...nstead of requests.text.

Sometimes the server returns an encoding but the page uses another one. This way, we can't not assure that we got a unicode object.

Using part of  previous code, we force the decode of the string to utf-8. It that fails, we decode using the encoding returned by requests.