made writer robust against illegal unicode, just in case
Merge branch 'master' of github.com:impulse-org/pdb.values