Also catch ValueError in _is_string. Fix indentation to be consistent (5 spaces
to 4 -- this would be a SyntaxError in Python3).
Merge pull request #307 from swails/fix_is_string

Fix bug in _is_string