Add PDF detection
Merge pull request #451 from github/pdfs

Add PDF detection