PY3: Add compatibility for maketrans