actually close files instead of leaving it to the gc #5955
diff --git a/Lib/aifc.py b/Lib/aifc.py
index f9db3f4..197e755 100644
--- a/Lib/aifc.py
+++ b/Lib/aifc.py
@@ -347,7 +347,7 @@
         if self._decomp:
             self._decomp.CloseDecompressor()
             self._decomp = None
-        self._file = None
+        self._file.close()
 
     def tell(self):
         return self._soundpos
@@ -734,8 +734,7 @@
             self._comp = None
         # Prevent ref cycles
         self._convert = None
-        self._file.flush()
-        self._file = None
+        self._file.close()
 
     #
     # Internal methods.