non-directories when directories were expected will now throw exceptions