Basic file IO operations like Prelude, but for 'OsPath'.