Fix redirection of IO streams
Merge pull request #599 from avsej/fix-io-redirects-in-installer

Fix redirection of IO streams
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  Fix redirection of IO streams