Another small piece converted to using uint8 arrays instead of strings.