dos2unix: improve test by reusing pathname and checking all output