fix upload for old s3cmd