Makes sure that stdout is restored.
Merge pull request #173 from aplanas/master

Makes sure that stdout is restored.