StreamOutput: Mark printf with __attribute__((format))

This allows the compiler to throw useful warnings.
Merge pull request #87 from bgamari/edge

StreamOutput: Mark printf with __attribute__((format))