Added '-s' option to save output from command-under-test