Treat stream header values as signed
Change JSON separators and indent
Fix status message
Open temp file in text mode for the script to work in Python 3
Don't mask all TypeErrors
Merge edits to stream_header.py