Fix: Bad detection of PDF format.