Fix exception.message in python 3