plugins/convertPathData: fix m->M bug in some cases