Apparently missed part of mubix's original changes

Used by auxiliary/admin/smb/list_directory