fix: prevent out_path from inheriting the mode of source bindgen.rs
Based on https://github.com/tursodatabase/libsql/pull/434 and rebased.