Renames contents of a folder according to a common pattern