sol_to_vtu_direct is meant to take a .sol folder (e.g. "X_sol/") and convert it to VTUs producing a X_transient.pvd and a X_vtu/ folder. It will currently fail to create any VTUs if the x_vtu/ folder does not exist before hand.
It should instead create that folder itself on run if it doesn't exist.