(bug 55121) Port generate_family_file.py to core

Now without BeautifulSoup and with Python 3 compatibility!

Change-Id: I7a9ba232f9dee797347cde9c1792f068c64563fb
Merge "(bug 55121) Port generate_family_file.py to core"