fix for StringIO removed, bacause of existing mock lib too