fix paths into patch files.