Saving WebGL files from idbfs directory to S3 bucket

I am trying to save some files my build generates in the idbfs directory in another location. The following log confirms an XML file is generated and saved to the temporary idbfs directory during gameplay - how can I save this file? My build is hosted on S3, ideally files I save would be saved in the same S3 directory.

2024/8/19 11:10:31.605 AM -07:00: INFO: Successfully saved xml file: [/idbfs/2ce6109378c2b8ea5c79c1903230be44/player_prefs/BB7AB797AB7F_881F19212FC9_prefs.xml]

Some references

Appreciate your help and time on this!