Generalize Handles
Update Out.Dirent for unix-dirent interface change