a quick try at Poco::File, without compiling, still needs lua_openfoundation().