save/read mesh to ply format