Fix python3 client generation.