simplifying path vs. stream detection

- simpler to detect string
- if string we assume it is a path to a file
- if not string we assume it is a stream since that is the only other option
Merge pull request #16 from thlorenz/string-or-stream

simplifying path vs. stream detection