Filesystem module

Some basic filesystem operations (e.g. mkdir, chdir, existence checks). Still needs to be checked on Windows.