Added directory listing functions to the filelib (newer, better ones).
More filelib stuff: directory get/set/create/delete, and file attributes.