Expand variables in the session filename, too