Fix #19: append content to .gitignore instead of overwriting