Add shebangs to pyw files so pre-commit CI recognizes them as Python
pre-commit.ci pins identify==2.6.15 in its runner image, which
is older than v2.6.17 where .pyw extension recognition was added
(pre-commit/identify#562). Adding shebangs makes identify
recognize them via file content instead.