fix issue with Stat.toString() when size=0 (log returns -inf)

Math.log(0) = -infinity
doh! >_<
fixed.