Coerce int to str so bytes are reported

This safegaurds against TypeError being thrown when a user sets an int.