fix missing maketrans import (thanks AW)