Fix typo and add local files to .gitignore.