Add stdout and stderr to the files to be transferred in case of ssh.