Store isDir in the stat data

This should make some fs functions significantly faster, but we'd need to remove the transitioning code to actually enable all the speed-ups.
Nit: space after false.