Rename directories with prefixes