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

Fixes #1