replace generated absolute paths with relative