Check for stderr before trimming it.
0.9.6