CORE-4898: Split off the Tika based filetype detection into a separate
thread to prevent Jargon from barking errors when multiple
FileInputStreams are created in the same thread.