Check whether something is a directory.
isDir = love.filesystem.isDirectory( filename )
string filename
boolean isDir