When writing a file to S3 using S3FS, if that file is accessed while writing to it, the data in the file is deleted.
We had a Red Hat Linux server on which we kept a product we were beta testing when we noticed this issue. When we went to fix the issue, we moved that product to an Ubuntu instance and we no longer have that issue.
We set up a server for a client that wanted Red Hat and moved some code to that server and that server is now having the overwrite issues.