Improve gitignore util by appending to .gitignore if file already exists