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

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