Add readdir primop

This is useful for things like nix-make, and may make nixpkgs's organization cleaner