entities similar to #1316126 cubicweb write file outside of virtual-environment