Passing string not bytearray to hmac.update() to work in Python 2.6.