Remove unnecessary cast to string
Remove unnecessary cast to string

Formatted code only needs to be cast to a string in one place. Other uses
can use the byte array.

maxbrunsfeld/counterfeiter,maxbrunsfeld/counterfeiter