Closes the file. Returns a Future that completes when it has been closed.
Future
Future<void> close();