Workaround for extended characters in errors

Same kind of error as https://github.com/ros-infrastructure/rosdep/commit/a088598a1e8937cec317eccfb449e354e33da580

Described in https://github.com/ros-infrastructure/rospkg/pull/54

Is there a better way to do this? The problem is that `str()` converts to ascii explicitly...