Allow text writer precision to be configured

This is super-dumb right now, but it allows basic precision
configuration. This is untested as the text writer test is disabled ATM.
Merge pull request #592 from gadomski/text-writer-precision

Allow text writer precision to be configured