str_open_as_stream() doesn't need a real file either.