Fix __wt_open to handle new WT_FILE_TYPE_DIRECTORY
Merge pull request #1369 from markbenvenuto/win_open_fix

Fix __wt_open to handle new WT_FILE_TYPE_DIRECTORY