Move the pdf file from .temp to outside.