Change stdout and stderr from list to string

Signed-off-by: Hao Liu <hliu@redhat.com>