Python 2.6: fix BaseException deprecation message, print as string. Use e instead of e.message