Python script to upload war files to Amazon S3