fix output handling in TestBlackbox::runQbs

Change-Id: Ia0eaaf3c0711b4396fa68dfda373b0a91ba29a63
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>