Write stream identifier chunk even for empty input

«The stream identifier is always the first element in the stream.» according to «Snappy framing format description».