Possibly remove pps_mkdtemp from libdocument public API
The following discussion from !107 (merged): @pabloyoyoista started a discussion: (+2 comments)
Looks like this is actually only used here. Nothing related to this MR, but @crab2313 maybe we can just drop the libdocument method and put it here? Or it there anywhere else that we might want to use it?