Replace basestring with six.string_types

Fix Python 3 compatibility issue with `ext/invoke.py`.
Merge pull request #72 from dan-blanchard/patch-2

Replace basestring with six.string_types in ext/invoke.py