Fix directory listing paths.