stream-file: add some tracing macros.