Cast unicode strings to str for maketrans
Cast unicode strings to str() for __all__ concatenation