#3 - setting the results of the seek and write methods of file-like objects to a variable to make doctest python 2 and 3 compatible

seek and write return None on python 2 and thus don't print anything in the REPL, but on 3, they both return integer bytes, which does show