Change dir path handling.