Move main logic into main() function
Capture old output of build_mime_basic.py

So as I revise it to new idioms, I know whether I am substantially
changing its output or not.