def dump_output(path, data):
    f = open(path, 'wb')
    if (data is None):
        f.write(b'\x00')
    else:
        f.write(data)
    f.close()
def dump_output(path, data):
    f = open(path, 'wb')
    if (data is None):
        f.write(b'\x00')
    else:
        f.write(data)
    f.close()