Change tika library output handling (using Symfony Process Library)

Resolve problem with using it in CLI mode