Filesystem module

Implements a handful of filesystem-related functions (e.g. chdir, mkdir)
in C++ and Lua.