CDH-15925: Tika Parser throws java.lang.StackOverflow exception when parsing rfc822 files