build.py: Save built packages after each package got built