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