def save(content, path, binary=False):
    """Save the provided content in a file"""
    if binary:
        mode = 'wb'
    else:
        mode = 'w'
    fd = open(path, mode)
    fd.write(content)
    fd.close()
