unskip strinio doctest
preview: fix unable to open file problem
fix different dvi filename problem (cat template.tex | latex)

see PR1779 for a description of the problem
minor cleanup