Allow to ignore UnicodeError

Not very classy, but it allows to deal with keys having a broken encoding in the UIDs...