Make Unicode files work - fixes 135

Fixes #135.
:question: These tests could be understood more easily perhaps if the variable names `f` were replaced by a variable name which gives some of the information of the above "Make sure to use StringIO that only accepts unicode" comment.