Remove executable bit from static and templates files.

Some files (mostly ones which were extracted from a third-party archive) had
the executable bit set. Remove it.

Fixes bug 3038.