[functions.interfaces] updated visualize()

Since we do not fully trust the vtk writer (for good reasons), creating the
directory beforehand seems like a sensible thing to do.