Improved Python 3 support.

This builds on pull request #12 (which was not updated since a while) and should make pipsi fully compatible with both, Python 2 and Python 3.

The single `raise` should properly reraise the exception with a correct trace. Tested it with Python 2.7 and Python 3.4.