[dgf][test] strip path from filename for vtk output
name includes the path to the dgf file. Strip that
The output file should not be put in a source directory.
Parallel output doesn't work at all since
nameis prepended with something like
Please cherry-pick to 2.6.