making thread/multi-process safe by not changing directories in order to create zip/docx file