Wrap status_code as a string

Causes a TypeError since status code is part of the list that is being joined to construct the key