Cleanup and make file encoder a dependency.

A couple bits of cleanup of unneeded/bad code. Also added an IContentEncoder interface so I can implement alternate encodings of things on disk.
Add System.IO.Abstrations.

Moving toward something where I can unit test the file content. System.IO.Abstractions will enable that.