Make string python 3 compliant