Actually the script is just overwriting over the same file again and again.
What you can do is modify the name of the request being sent to the local server.
Go to Collection > Edit Collection > Test Script
Change the requestName property to:
requestName: `${request.name || request.url}-${Date.now()}`
Now, it’ll be unique for each request and a new file will be created for each request sent and response received.