The goal is to be able to take any Python string and reversibly convert it into a string that consists only of a-zA-Z9-0_ characters.
>>> alnum_encode("hello.csv")
'hello_2e_csv'
>>> alnum_encode("this é has ü accents")
'this_20__e9__20_has_20__fc__20_accents'