Write protects compiler output

The .lua files written by the compiler are now write-protected to stop
accidental editing of them instead of the sol source