Using six.string_types for python3 compatible

For python3 compatible, using six.string_types instead of
basestring(). six.string_types represent basestring in
python2 and str in python3.

Change-Id: Ib4ba3d164f782601944023b99d6cc1ee2763ee85
Merge "Using six.string_types for python3 compatible"