Fix annoying Python 2 compatibility issue with UnsortedDictVectorizer