Make build-tz.py usable as a module (though so far untested in that form).