[PATCH 3/3] kunit: tool: remove redundant file.close() call in unit test