Pass FileSystem to plugins for generation.
Merge pull request #99 from square/jw/nio2-in-plugin

Pass FileSystem to plugins for generation.