Only try to parse input src if is.string(src).

This was causing https://github.com/facebook/regenerator tests to fail on
`src.split` after I tried upgrading to defs v0.6.1.
Merge pull request #22 from benjamn/is.string-src

Only try to parse input src if is.string(src)