Complete rewrite of makeCBZ.sh and flatten.sh in Python