Reimplement path.lua with LuaJIT. Instead of luafilesystem