How to download bytesio png file after callback

yes that was it! any way you know of to tell pane.save() that it’s a png file instead, I know it works off the filename but it doesn’t seem to detect bio.filename in this situation.