Make lua plugins null-bytes safe