Fix the session save path issue.