Fix Stream.resource code

Should we add a note that in practice developers should just use `File.stream!/1` that does the same thing?