Restore stdout on windows
Merge pull request #4 from mattn/fix_win

Restore stdout on windows