Fixes file extensions on links.