Removed dirent->d_namlen, not portable.  Removed unneeded functions.  refs #633.