Allow setting of stream version in the DB.

Allow setting of the nVersion parameter used for stream serialisation in
the database.