Fix crash when calling convert with unicode source_path.