added rawlen; modified debug.setmetatable, io.write, file:write

added a dummy `rawlen` function, and changed return values of `debug.setmetatable`, `io.write`, and `file:write`.