Capture C-level output in context managers

WWW: https://github.com/minrk/wurlitzer
