Fixed gen_python proto script for new directory structure.