fixes StringIO unicode handling in python 2.7
Merge branch 'fix-stringio-python2.7' of git://github.com/aelse/collectd