upgrade prototxt to caffe proto v1