I got that same error for awhile, until I fixed it
It appears that by default, there is no .local folder set up in /root
Once I created the directories, then it was able to create the files properly, and I didn't get the errors anymore.
Or you can just ignore the errors if you wish. It is just telling you that it can't create the file that it uses for it's recently used items. If you don't have a need for the recent items, then you can just ignore the error.