[Fix #668] Handle stderr in default handler