Reopening stdin, stdout and stderr if they are pointing to /dev/null.

When users run docker containers in daemon mode, they are not intending to tie their containers to any resources outside of their namespace. If they run it interactively, then these fd's could point to some files outside of the namespace.