fixed (hardened) doc._id tmp file path part handling

in order to work against latest hoodie worker-user-database db naming convention (e.g. "user/gr1oq74") avoiding conversion error due to wrong file path

`convert: unable to open image /tmp/image/jr0773c-thumbnails-DSC_0161-0000.jpg: No such file or directory`