Append "ISDIR" to type when argument is a directory
Does not work when a path is deleted, by the way. Does it on Un*x?
See #12