Camera: ITS: Add support for ITS in Windows env

Files affected:
  tools/run_all_tests.py

- Add try/exception continue when calling chmod command in Windows env
- Call os.close() on open file descriptor returned by mkstemp() call.
  On LinuxOS this silently leaks file descriptors, on WindowsOS it will
  throw concurrent process access issue.

Bug: 220285096
CRs-Fixed: 3134221
Change-Id: If6a3040d4ca3e57ca5af45b59fde2149a3919719
1 file changed