Take a Stream object instead of a file path as the input argument

If a Stream object was passed instead of a file path, then use it directly for the pipe.

This allow using the module together with other sources of data (e.g., files stored in a db, as in my case).

Thanks for your nice module!