Fixed unicode error by using old links file in python, generated html files