Adding .gitignore files in required dirs.