Rename .gitignore to .gitignore_ during publishing

This is necessary to workaround inconsistent output of npm pack/publish where tasks/gyp.js would be missing. See https://github.com/SonicHedgehog/grunt-node-gyp/issues/1 and https://github.com/npm/npm/issues/2619.