use "Exception as err".

we are in python 2.6 minimum.
PEP8
Merge pull request #12 from grigouze/exception_as

unixpipe: use modern Exception "as" + PEP8