ttlogmerge: convert to make output filename optional (default: STDOUT)