make FS.readdir easier to use

Was integrating the new filesystem changes into quakejs tonight and realized there wasn't much reason to make users FS.open, FS.readdir and FS.close to read directory contents.

With that said, FS.readdir now takes in a path instead of a stream instance.

Ran o1, other and browser.