fixed string compability on python 2 and 3 using six module.
Added commentary about possible issue to generate hash on python3