Fix Coverity CID 655956 by saving and restoring the stream format flags around the hexadecimal PID output. This prevents the basefield setting from affecting subsequent output. Signed-off-by: Robin Getz <rgetz503@gmail.com>