Removes a file.
static FutureResult<(), IoError> removeFile(Path path) async { return await Fs.ioGuard(() async { return await File(path.asString()).delete(recursive: false); }).map((_) => ()); }