Change vtk writer to behave like netcdf writer