pub fn format_bytes(bytes: i64) -> String
bytes as text: "1 byte" and "999 bytes", then one decimal place in the largest unit that keeps the number at least 1, such as "1.5 MB".
bytes
"1 byte"
"999 bytes"
"1.5 MB"