Make the generated `native.rs` file read-only