added the option to keep temporary pdf file
fixer render_to_response