avutil/file_open: use CreateFile()