use -EIO instead of -EREMOTEIO

The BSDs don't have EREMOTEIO, and all we really care about is an error
occurred, so use one that all systems should have.