convert files generated by lua protobuf