Fix file destination directories