Update stylestats to new version and pass contents of file instead of path.

Fixes #1
Merge pull request #2 from mollerse/master

Update stylestats to new version and pass contents of file instead of path