deleteDocument function
Deletes path.
Implementation
Future<void> deleteDocument(String path) {
final p = path.toNativeUtf8();
return _awaitOutcome(
(port) => fdbFsDelete(p.cast(), port),
'delete $path',
).whenComplete(() => calloc.free(p));
}