Have lua file write .c file