Fixed method of pushing files to Amazon S3 with PutObject