Fix issue cannot rename folder in Amazon S3