import codecs


def utf8_writer(filelike):
    """
    Wrap a file-like object with a UTF-8 wrapper.

    :param file filelike: the file-like object to wrap
    """
    return codecs.getwriter('utf_8')(filelike)