How to programatically emulate bookmark selection?
I did not see the "answer my own question" so here it goes. I found the following to work.

bpy.ops.file.select_bookmark(dir=dirname.decode())


This gets me to the folder where the file was saved. I would like to update the file name also but for now this works for me.