This commit updates _all_ WASI test programs to use the latest version of the `wasi` crate (`v0.9.0`). While at it, it also unifies asserting error conditions across all test programs.
This is the wasi-tests crate, which contains source code for the system-level WASI tests.
Building these tests requires that the wasm32-wasi target be installed.