Make a file with utf-8 text.

def make_file(abspath, text):
    """
    Make a file with utf-8 text.
    """
    try:
        with open(abspath, "wb") as f:
            f.write(text.encode("utf-8"))
        print("Made: %s" % abspath)
    except:  # pragma: no cover
        pass