Closes the file; further operations throw StateError.
@override Future<void> close() async => _file.close();