Fail gracefully if defining .isatty() for sys.stdout/stderr fails (because it already exists)