Avoid a divide by zero error

If for some reason the stored speed in speed.txt = 0 then use the
default speed of 250 to avoid a divide by zero error.