Fixing file permissions; updating version

Without specifying mode => 0644, apt-cache search and other non-root apt
tools complain about not being able to read the conf files.

Also adding gitignore for pkg directory