Removed unnecessary file.IsDir fix.

Seems that Garry silently fixed the issue with file.IsDir not working in the LUA directory.