def create_file(path, content, encoding='utf8'):
    content = to_unicode(content, encoding)
    with io.open(path, 'wt', encoding=encoding) as f:
        f.write(content)
Create a file at path the content. Content is assumed to be a utf-8 encoded
dataset/ETHPy150Open jpscaletti/Voodoo/voodoo/helpers.py/create_file