Fixed S3UploadDirectory command