fix links to local files in editor