Mime type detection using Apache Tika