Convert the tiffs to jpegs before creating the pdf files, to avoid the
pdf files becoming too huge to handle.
Fix typo in last check-in.