Add temporary workspace functionality for ensure_pdfs