The underlying distinction is that `io::file` is a module and `io::File` is a re-export of `io::file::File` for more ergonomic access.

I'm a little in favor of moving all of these functions to `File` instead of having some as top-level functions of `io::file`, but I was hesitant because they don't really have anything to do with files...