Added the builtin OS.getDir.