Fix header and footer formatting

* .el is required for package-buffer-info to parse the file correctly
* lexical-binding must be set on the first line, according to warnings issued in Emacs HEAD