[functions.interfaces] updated visualize()

We fall back to write() in serial runs, avoiding the s0000-p000 prefix
in the output files. Hope this does not break anything, @renemilk?