disable colorization when stdout is non-interactive (fix #413)