Fix crash when specs fail to pass.

With the current version of Karma (0.9.4), this reporter will crash if any specs fail. This makes for an unusable reporter.

This commit fixes the problem.