check for basestring instead of str to be accept unicode output
Bump version to 1.7.3