Rename dir to path