box: Fix a memory leak of file destructor.