better passing of exception name and message back to py3
remove unnecessary pickle dependency