Fix kate directives
Fix symlinks to local files