JPEG detection using TIka