Just Rex::Text.to_octal is probably better