Change how to get stdin and stderr from groovy external process

Change how to get stdin and stderr from groovy external process in DefaultJobCaller.