Apache Tika for better content type detection