Fix error in generated Python 2 argument serialization.