Fix "unicode vs. bytes"-issues.