Fix the path of a patch file