Don't create a .gitignore directory. Create the parent
Merge pull request #91 from jk-5/FG_1.2

Fix latest commit creating .gitignore directories instead of a file (FG_1.2)