As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code.
Many thanks to Bob Droog for organizing a test account and extensive testing.