Correctly handle IOExceptions wrapped by Ribbon.