Introduce strtosz() library function to convert a string to a byte count.