Fix possible incorrect return of os.Stdout, os.Stderr as readers; fixes #5