buffer.lua: Fixed dumb bug.

Name clash between variable 'size' and function 'size' introduced in
commit d45986.
.gitignore: ignore more generated files.