more prints converted to stderr writes in main dump script

Change-Id: Iee9c09e0c893809637cd2f4ca68929dbc4a5cbc1