added Python namespaces to thrift files