Bitwise `&` rather than `|` node stat types

We need all the bits to pass simple tests like `is_dir` and `is_file`.

Fiexes #9.