encoding option for doctest files in runtests.py