switch from Prelude.catch to Control.Exception.catch (fix for ghc-7.6)
Merge branch 'ghc-7.6-fix'