Use strip-dirs and is-gzip

* https://github.com/shinnn/node-strip-dirs
* https://github.com/kevva/is-gzip
Add test for `strip` option