PHP script to backup a DokuWiki site to Amazon S3