LPS-51279 ZipWriterImpl is gc tracking on the wrong file object

Fix for https://test-14-1.liferay.com/job/test-portal-pullrequest-backend(master)/287/org.jenkins-ci.plugins%24ghprb/testReport/junit/com.liferay.portal.lar/LayoutSetPrototypePropagationTest/testAddChildLayoutWithLinkDisabled