Better logic for populating NSURLIsDirectoryKey from WebDAV directory listings
Should resolve issue #52