Fix directory path.