It fails if there is no files in "/usr/share/pre-installed/MyDocs/.documents/". Create that directory and touch or put a file there if you have that deleted.