Updated code to use b-prefixed strings for Python 2.x and 3.x compatibility