Folder being created in wp-content/uploads

I am trying to migrate my site to a new hosting provider. There is a file that S2Member is creating in my wp-content/uploads directory that is preventing it from working. I am getting the following error:

Critical Transfer Error
Uncaught PharException: tar-based phar “/home/accountname/” cannot be created, header for file “.htaccess” could not be written in /home/accountname/…

Basically the folder 1638904492-05a9cfff4961caeaa191352b83f0546e58be6de4 is too long according to SiteGround’s KB

I have tried deleting that directory after backing it up as well as disabling S2Member while trying to initiate the migration but it keeps rewriting it to that directory. Does anyone know how to stop this from happening?