lib/standard: Move top-level methods in `file` really to the top level.