keynote and PDF files are written to the root of the temp directory using just their filenames. So if files with the same name exist in different paths, e.g., foo/deck1.key and bar/deck1.key, the first instance will be overwritten by the second. Makes sense to write out the files using their full paths, e.g., tempdir/foo/deck1.key and tempdir/bar/deck1.key
keynote and PDF files are written to the root of the temp directory using just their filenames. So if files with the same name exist in different paths, e.g., foo/deck1.key and bar/deck1.key, the first instance will be overwritten by the second. Makes sense to write out the files using their full paths, e.g., tempdir/foo/deck1.key and tempdir/bar/deck1.key