filehash: Filehash should be removed after the file is closed

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/filesetup.c b/filesetup.c
index 07c24be..464c0f2 100644
--- a/filesetup.c
+++ b/filesetup.c
@@ -649,6 +649,7 @@
 		}
 
 		td_io_close_file(td, f);
+		remove_file_hash(f);
 
 		sfree(f->file_name);
 		f->file_name = NULL;