Python3 error: initial_value must be str or None, with StringIO Python3 error: initial_value must be str or None, with StringIO python-3.x python-3.x