Fix path conversion.