python: Fixed a url quoting bug in ashd-wsgi.