Sets the current position to the beginning of the directory for the readdir routine on DIRHANDLE.
readdir
Portability issues: "rewinddir" in perlport.