PY3K: string compatibilities