Add six for python2/3 compatible use of isinstance with unicode or str types.