Support non-seekable stream for embeddedresources