Convert PDF to TIFF in Python