Fixes issue #534. .gitignore template renamed to gitignore, and after copying to destination folder it get renamed back
Merge pull request #543 from balbeko/issue_534

Fixes issue #534.