Rename directory first.