Simple PHP script for mirroring log files to S3