Unicode compat

Fixes one of the issues raised in VisTrails/VisTrails#21
There's probably a more pythonic way to do this, but it gets the job done