add support for optional opts second parameter; use the opts.exts to determine whether to apply a transform to the current file
Merge pull request #9 from rotundasoftware/master

Add support for optional second parameter