Update Pdf.php

Added "--load-media-error-handling" option to pdf generation.