changed to str
Updated tika dependency to apache tika 1.4