fix param order for s3 upload

only necessary for ruby 1.8