Update OSErrorMsg usage due to nimrod 0.9.4 deprecation