Stop using BaseException.message

BaseException.message is deprecated - casting the exception to a string is the accepted way to do this now.

/review @dhui