Fix bug with recentf list not being saved