add convenience API to Python rosbag