Add MonadIO constraints to (Base m)

I needed this to build against `pipes` and `pipes-safe` from git. Feel free to ignore if this is a temporary state.