Add barcode to a template pdf using Python