Fix $bytes_sent for < 1.3.8