Get unicode objects from the database for text files.
Fixing codec for output, so that Python is not confused when the
script is piped, eg |less.
Add piping utf0 content trick.