pub fn format_speed(bytes_per_sec: f64) -> String
Format a transfer speed (bytes per second) into human-readable form.