drop write bit for generated files.

Rationale: avoid mistakenly modify the files.