use send_file(path) instead of send_file(io)
more tests