bin/git-interactive-add: fix for macosx
bin/is-tty-io: fix darwin version of is-tty-io

Signed-off-by: Bao Haojun <baohaojun@gmail.com>