Fix thrift files.