Close binary keyframe files explicitly


In most platforms, it closed automatically.
But let's make the safe implementation.

Pick-to: 6.8 6.7 6.5
Change-Id: I4344a06b2c8f1b29d16ae527581f17272b99d38f
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
commit50a84ccf8380d31b1c61de46fa24f9ab972d6e82
parentdae240097b0dc1749e038565f56406efd646855a
authorInho Lee <inho.lee@qt.io>
committerInho Lee <inho.lee@qt.io>
commit timeMon, 3 Jun 2024 12:32:52 +0200