More Python 3 fixes.

Need to decode() to do a str 'in' check in Python 3 ("Type str doesn't
support the buffer API").
Update instances requirement to get fix from there.