Fixed file modes
Fixed multiple memory leaks due to raw vtkCutter pointers