added creation from stream for jar integration

In order to use the .bin in a jar resource you must use a stream instead of files. The new functions does just that.