Dump Spike solver stats to file on failure.

However, continue Newton iterations, unless the solver failed by generating a NaN or reaching the maximum number of iterations.