peter.smith accepted this revision. peter.smith added a comment. This revision is now accepted and ready to land. This looks good to me. I can't see any problems with changing from fprintf. https://reviews.llvm.org/D25270