fixes #1837 and #1720 - Word PDF upload problem and updating Tika library to the latest version