rename output files to STDIN when reading from it