Qualify

Despite having a * prototype, readdir currently doesn't support "old-style" filehandle (e.g. `readdir DH`). This branch fixes that.

It also fixes readdir not being properly lexical, a bug I ran into when writing tests for the other bug.