This is going to be a limitation of adding in the links like this. It will have a full site relative URL in the link to the file. You could just add in some text for the link then make that text a link rather than just inserting the link by itself. You could also move the files into another folder in the site so that you can control what the links look like.