Changes for recording Bag-Id in the bag-info.txt file. Fixes #76