class TextWrapper(object):
    """Use this class if you have a binary-file but you want to
    write strings to it.
    """