ENH is_string_like now checks whether the object is an instance of basestring