fix hmac for py2/py3 compatibility, bump version