Rename directories for Amazon S3 objects.