Check for pre-existing pdf mime type (fixes #24).
Merge pull request #25 from linrock/fix-mime-type-warning

Check for pre-existing pdf mime type (fixes #24).