Make std.fs.cwd() return preopen for "." if exists

This commit adds WASI specific impl of `std.fs.cwd()` in which we
emulate the `cwd` behaviour by inquiring the runtime for a "."
preopen if available. This is OK for simple relative ops, but will
not work for any ops which require absolute paths.
05fb3e79feJakub Konka committed on 5/5/2020, 1:08:52 PMparent8e1cd69
2 files changedLine totals unavailable