I use “File->Export->General->File System” and export the entire project tree. If I need go read it back in I use “File->Import->Existing Projects Into Workspace”.
The example projects are in the repository filesystem tree, and have relative paths referencing other objects in that tree. That may be the cause of your error. I leave the examples unmodified any copy any bits I want to a project that was created in my workspace.