Checks if oEntry is a dir, if yes, does not unlink. Instead also delete files in smarty/ directory.