file open mode check (exist file checked by _access at Win32)