fix vtkSurface::WriteToFile