Rename core directory.