Fix incorrect escaping in gemspec when reading .gitignore