*8148* move monograph functionality for temporary files to PKP-lib