refs #17: deal with unicode function missing in python 3