Fix file path for registered external files