fix .gitignore generation; close #41