Change speed calculation if download speed equals 0

The formula used to convert bytes per second to human readable
units uses Math.log(speed), which is undefined (or -Inifinity)
when speed equals zero. So don't use that formula if speed equals
zero.