Display error message when trying to upload a non-PDF file as a PDF textbook