Fix file paths wrt directory changes