Use older form of except

For Solaris compatibility (python 2.4)