fixed bug of saving ply file as ASCII.