script-publish.py: Add debugging output for the chunk stream