fix thrift gen files