Use through2 instead of map-stream

https://github.com/rvagg/through2
Add .gitattributes

http://git-scm.com/docs/gitattributes