fix stem.doctest failures

fix doctest failures for Regexp stemmer caused by encoding
fix doctest failure for Snowball stemmer caused by missing doctest option