Redirection of stdout and stderr to the same file

By Dmitry Kabanov