[update_catalog.sh] Fix: Clean files before next write