Write a no-byte-compile local variables block into generated "-pkg.el" files

See #2043