Bit of final lua cpath formatting
Move data out of a safe_func