PAR2Set/utils: add the ability to redirect stdout