open should not set EISDIR when opening an existing directory with O_CREAT
Merge pull request #1379 from inolen/open_fixes

open should not set EISDIR when opening an existing directory with O_CRE...