Closes the file. Returns a Future<RandomAccessFile> that completes with this RandomAccessFile when it has been closed.
Future<RandomAccessFile>