remove
public func remove(String) -> Result[(), IoError]Deletes the file at path.
Wraps unlink(2). Does not work on directories — use removeDir
for those. If path is the last link to an open file, the file's
blocks remain allocated until every descriptor is closed.
Errors
Returns Err(IoError) on any libc failure; errno is captured.
Defined in lang/std/os/fs.ks