Use python2.7 for thrift_wrapper_codegen.

Reviewed at https://reviews.apache.org/r/26764/