Save to ply file