I think it would make sense to refactor the unix package into a very thin "just the foreign imports" layer, and then the current unix as a layer on top of that.
It doesn't make a great deal of sense to do this for just one function, though. It would stick out like a sore thumb in the API.