add output format option to script/convert_mesh.py