Update Pdf.php

Fixing temporary file unlink when header or footer html is an URL.
Merge pull request #117 from nullziu/temporary-file-url-cleanup-fix

Fixing temporary file unlink when header or footer html is an URL.