Update support HANDLE if file is device or _open_osfhandle fail