vtkXMLPDataObjectWriter: better handle non-existent dirs
vtkXMLPDataObjectWriter was using SystemTools::GetProgramPath
to get
parent directory. That only works if the path exists. This was causing
paraview/paraview#20283 (closed).
Fixed that by using SystemTools::GetFilenamePath
which does not
validate path for existence and hence works correctly for this use-case.
Also addresses paraview/paraview#20275 (closed)
Edited by Utkarsh Ayachit