remove mocker from dependencies
use StringIO on python 2 instead of BytesIO