Add obsolete .directory for API consistency
Allow "foo".IO.open/mkdir if "foo" doesn't exist
Make mkdir() work again