Support python3 in twd97conv.py script