Fix double '/' in URLs when exporting