Compatibility with GHC 7.6, 

Replaced old catch with new, catching SomeException (everything) because I'm not sure what the old version really did catch. :-)