Replace relative URLs with absolute ones.