Handle unicode connection URIs in Python 2.4

Unicode MongoDB connection URIs, if they have options like "/?fsync=true", raised a TypeError in old Pythons.