[python] Stripping everything but alphanumeric chars from a string in Python