Create and ShinySession() and use from renderPlot()
Rename ShinySession to saveFile
Add plotPNG function
Send URL in clientdata